﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WZLY
{
    class Player
    {
        public EnumZhiYe ZhiYe { get; set; }
        public int XueLiang { get; set; }

        public int WuGong { get; set; }

        public int FaGong { get; set; }

        public int WuKang { get; set; }
        public static ZhuangBei [] _wanJiaZhuangBei=new ZhuangBei[5];

        public int FaKang { get; set; }
        public enum EnumZhiYe
        {
            FaShi = 1,
            ZhanShi,
            SheShou,
            TanKe,
            CiKe
        }
        public Player(EnumZhiYe zhiYe)
        {
            this.ZhiYe = zhiYe;
            switch (zhiYe)
            {
                case EnumZhiYe.FaShi:
                    this.XueLiang = 300;
                    this.WuGong = 10;
                    this.FaGong = 30;
                    this.WuKang = 10;
                    this.FaKang = 30;
                    break;
                case EnumZhiYe.ZhanShi:
                    this.XueLiang = 500;
                    this.WuGong = 20;
                    this.FaGong = 10;
                    this.WuKang = 30;
                    this.FaKang = 20;
                    break;
                case EnumZhiYe.SheShou:
                    this.XueLiang = 30;
                    this.WuGong = 60;
                    this.FaGong = 10;
                    this.WuKang = 10;
                    this.FaKang = 10;

                    break;
                case EnumZhiYe.TanKe:
                    this.XueLiang = 600;
                    this.WuGong = 10;
                    this.FaGong = 10;
                    this.WuKang = 50;
                    this.FaKang = 20;
                    break;
                case EnumZhiYe.CiKe:
                    this.XueLiang = 200;
                    this.WuGong = 80;
                    this.FaGong = 10;
                    this.WuKang = 10;
                    this.FaKang = 10;
                    break;
                default:
                    break;
            }
        }
    }
}
